package com.yunqi.sql.entity;


import lombok.Data;

/**
 * 此表对应MySQL中的 information_schema中的COLUMNS表
 *
 * @author qsx
 * @date 2020-08-31 17:05:36
 */
@Data
public class Column {
    private String tableCatalog;
    private String tableSchema;
    private String tableName;
    private String columnName;
    private String ordinalPosition;
    private String columnDefault;
    private String isNullable;
    private String dataType;
    private String characterMaximumLength;
    private String characterOctetLength;
    private String numericPrecision;
    private String numericScale;
    private String datetimePrecision;
    private String characterSetName;
    private String collationName;
    private String columnType;
    private String columnKey;
    private String extra;
    private String privileges;
    private String columnComment;
    private String generationExpression;

    @Override
    public String toString() {
        return "Column [columnName=" + columnName + ", dataType=" + dataType + ", characterMaximumLength="
                + characterMaximumLength + ", columnComment=" + columnComment + "]";
    }

}
